Skip to content

feat: add support for compile from source via env var#23

Open
gworkman wants to merge 1 commit into
Hermanverschooten:mainfrom
gworkman:main
Open

feat: add support for compile from source via env var#23
gworkman wants to merge 1 commit into
Hermanverschooten:mainfrom
gworkman:main

Conversation

@gworkman

Copy link
Copy Markdown
Contributor

This adds support for the TYPST_BUILD env var to force the NIF to build locally. I also updated the README with a compile from source guide.

This is useful for me to force a build when updating a project to use the custom-eex-engine, branch but without modifying my config.exs

@Hermanverschooten

Copy link
Copy Markdown
Owner

Hey @gworkman, nice. But I was thinking maybe make the env var's name less generic, something like TYPST_NIF_FORCE_BUILD, just to lessen the change it might in the future conflict with some option typst itself uses.

@gworkman

Copy link
Copy Markdown
Contributor Author

Hey @Hermanverschooten, sounds good to me. I'll push up a quick commit which changes the name of the variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants